Previous Book Contents Book Index Next

Inside Macintosh: 3D Graphics Programming With QuickDraw 3D /
Chapter 7 - Transform Objects / Transform Objects Reference
Transform Objects Routines / Creating and Manipulating Rotate-About-Axis Transforms


Q3RotateAboutAxisTransform_SetOrientation

You can use the Q3RotateAboutAxisTransform_SetOrientation function to set the orientation of the axis of rotation of a rotate-about-axis transform.

TQ3Status Q3RotateAboutAxisTransform_SetOrientation (
TQ3TransformObject transform, 
const TQ3Vector3D *axis);
transform
A rotate-about-axis transform.
axis
The desired orientation of the axis of the specified rotate-about-axis transform. This vector must be normalized.
DESCRIPTION
The Q3RotateAboutAxisTransform_SetOrientation function sets orientation of the axis of rotation for the rotate-about-axis transform specified by the transform parameter to the value passed in the axis parameter.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
11 JUL 1996